SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58314e30feb3b44cfc51035f7be5aeecd44da830fe997ec226f5ad1e618eaa14' 
  AND token = 'KVmMZRj/QHZ1rDtQXpW9dAhhGGOJnw6Iq5ru5kAE7eQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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