SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'efdf63c59cee0c8d1d14e23db43457c2a4357f4473ec4dfda934ce70b6f1067a' 
  AND token = 'PwmcwPVY0VjHm4efGVYmG8hoaOAeKIAlPNz7TRS9K0M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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