SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51e712d2cd7fbb06d2026a2c18651adaed530dba179f52e3471051c196339832' 
  AND token = '902OFTvJH3iHTQCsEelF9uPE7Jd2+PVyUVcGC5TFo6U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}