SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '817161eec08aa3f22c3a6dd95d08f764c7b36af353333a20eb99401092f7245d' 
  AND token = 'p0g7yA/MlutoG5um8oujcumh4WhHnl7GF1c5uS/jrp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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