SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c2ecc8a014dd4d28350b6ac758ea78c018cd90e7dbbad3d0b41740e655973a3' 
  AND token = 'OYDkcmgJA6oEkobi0ymfXOhHxrwaJc/mA00EMm5Bn94=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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