SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '888bf2e0964daac2e5eb868143a84291003ed79ce6920eba21473372f575b081' 
  AND token = 'BJ77wFUj+g1+02lMDeHZtRkNw1hX/gKxMaKHNvLEQSo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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