SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '012af521fd0e7769a8be81de743f2b486e45e7ce06d46e04f429c16dc717931a' 
  AND token = '9ohlDISrMbEG1XkVtM7/vSfvxOAudmPKnntbIsMDl9g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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