SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '65e840ddf21fb12848ad395b80569389893af38344988615401133ee9c8d3a48' 
  AND token = 'fPC2G619whIiVE7M7H5nuFudnpjkyyWMU5pCNUdh7Sg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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