SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2265e3f21d45bf0ecae008ff207e03494b5784b02714a5718c85f0673edbd343' 
  AND token = 'oDatdd/MTpU88njCsDBeWS6JshlUsx1czIc1rnV1m84=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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