SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf5c27d52989be171f99f32f5b7b5aad746a3e769f2d16afd5c4cb039168a213' 
  AND token = 'ZaG4C6+M31LHcOfbYOjSbFqpn/wx6LE5kEhFkpk6mh8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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