SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '416ffa400d4a6b434950618c649d1841bc62f4379412d09041e64aa6b242874b' 
  AND token = 'p/NGcl4LEGFk3VmEVAb0Da1Nj7prncppG3kC5wBNRlU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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