SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '90dc9f5e7d1b461269a65d89004c1154e28a9a61a3cec2933865ea430ffac752' 
  AND token = 'gbYKKm+zctq6h1K/JU971gJyWEZstSdtnOawQnBqat0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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