SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20afc195a134ce52ebd18b61528a15219b255b175b4ec20f6849640dbe83fa28' 
  AND token = 'bK+wekPzezbsLSC8K8EjuAkKtoGzsoWPQuxRPAHX/4g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00080

JSON explain

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