SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2b47075430d0a8284640d5e212b158ead3319a9a3271898313d9f054bc31ca5' 
  AND token = 'nYiuNcWI7Vf9CV7TLtekBCEL+AUFOEfL1Buw1XYKKas=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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