SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8aa2e4af17d96c789ee2f4ce67a476ada35f294aa737e56e9a4742984e0aecad' 
  AND token = 'PXw8CtiivLhxAntK2Y+RXCrbEng8FaVBdkCnZjlLn40=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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