SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e312ec44b8bb0f647612aa100b21dd3acec3f21ca45ea4495504580c61df20a6' 
  AND token = 'j5zlC4UFk4KZuHK43Jdzu6BmmOrKvuOcm/HMw8FdgHA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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