SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa52de8a30f58a4c37600152aaec58116b28faa77d00db838ff945f8d7ab8621' 
  AND token = '5fYDfbakbHUOj6HUuqN3Aj2VS90eB9CROnOdUqJJ9q0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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