SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7b199164bd72988fa4526616c7f5a77b0d7753e9e9c0afb76fe4857745fdd0cf' 
  AND token = '16d9YD/hS2Y1yZwfLCtybRUvD5KDurxCEZBfim2CDdc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}