SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e5174b550485206c2083414cbee5a9befcdebc93340d8a217fbb49a725f4566' 
  AND token = 'LYywO/uUj/GX0Z2dQNi2T/tHeQFir37n1yiB1jnhvoA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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