SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c23ea48c950e7d042b97c40f7aae071eda4158b9d464202cc85e6929e857282' 
  AND token = 'bkAfc4ht1OApyc0MK12Q+8yunojXeIUsHM+kcKqUeoQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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