SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20fb0cf935820183cf6fd3c992ff8838c72852fb510e8244c824af2b7da4892f' 
  AND token = 'gkcrs1qcD1vzXPZDdqtt6Inu2DNt6PGvnnyW392/QzI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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