SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ba0f5b969a600766bfb47b94fa504bd167ad9be681d7dbc49b566cb38f5badf' 
  AND token = 'q4iaxtlCcwaTatfKKeEE21fdO4uHB32y8h16XTZlctU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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