SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40af0c6a3fc88c45c6b65d261abb75086b27f8ffee9556fe04a0bdccbc5ad835' 
  AND token = 'fqKPjalv584r2NI5fLu1BFu6z3IOdbrxBkNPEYmxLCY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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