SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '03d24758866dff9ba2466651eb061319653367ab9ad11fb3b39a4c14a0e79e98' 
  AND token = 'S/DgKKsOd/1CQ1lIbMlWV7JztmIG1ZNQ9tE3naW06ag=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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