SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b071827aff3813a555b7a53c486b7699ea3686937ffb254d1db26c3d6236547d' 
  AND token = 'crlwTyRHw3xYh8bGEsDqW5I33MedSM/PRz+w9D93ZSE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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