SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '310c71113d98b8cb73f671c1c57a8c4a3bfbbc67b226bc13dfb825703f7db7b9' 
  AND token = 'ojuhHu30DUFalE/2WYxHbb2ti7ElZGFfIqZ0e8KTl6g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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