SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ac7aaa495fad3ae60d4e18caa721ad558fc5079eb949be761c341041d9d1196' 
  AND token = 'q4xqOucC+FrU2co2ge+b7mCY/XLiaYVsc696dF9hz+c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}