SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18fb74db36fa35de12393c1a956562d9e75cdf8cd174193dd6671c035e824acb' 
  AND token = 'MWbSanoZxQdIQUIGe/gadiTqqe7B9C0hCuuk6bNYwr8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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