SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '793d9204c78ca89e0a77f6766ea20b832e33ddbb5748c07b1802e39e3634363a' 
  AND token = 'CYJ+J6K/pYKXR4I+7c6gw7tJ9Cqs00tix9bL3crt+p4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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